home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 12
/
CU Amiga Magazine's Super CD-ROM 12 (1997)(EMAP Images)(GB)[!][issue 1997-07].iso
/
CUCD
/
Games
/
DestructivePoker
/
sources
/
sources.lha
/
betprefs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-13
|
1KB
|
57 lines
/*
betprefs.h (panos asetukset)
V1.00 - 241196 Kimmo Teräväinen
----- ------ ----------------
V0.10 291196 Started by modifying handprfs.h
V0.11 121296 Now Constructors have the same parameter in
the both version (Windows & AmigaOS).
*/
#ifndef DC1_POKER_BETPREFS
#define DC1_POKER_BETPREFS
#include "game.h"
#ifdef _Windows
class TPrefsBetDialog: public TDialog {
cGamePoker *game;
TComboBox changes,jokers;
static const char *Numerot[];
public:
TPrefsBetDialog(cGamePoker *ngame,TWindow *parent) :
TDialog(parent,DIALOG_PREFSBET,0),
changes(this,COMBO_CHANGES),
jokers(this,COMBO_JOKERS),
game(ngame)
{}
void SetupWindow();
void ButtonOK() {
game->SetChanges(changes.GetSelIndex()+1);
game->SetJokers(jokers.GetSelIndex());
CloseWindow();
}
DECLARE_RESPONSE_TABLE(TPrefsBetDialog);
};
#else
class TPrefsBetDialog {
Window *parent;
cGamePoker *game;
public:
TPrefsBetDialog(cGamePoker *ngame,Window *Wnd) :
parent(Wnd), game(ngame) {}
void Execute();
};
#endif
#endif